//
//  Accueil.h
//  Truffle
//
//  Created by Ismaila Kredity on 07/02/10.
//  Copyright 2010 kredity. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "Gateway.h"
#import "GatewayConnection.h"

@class Settings;
@class LoadAppli;

@interface Accueil : UIViewController {

	UINavigationController *addNavigationController;
	UINavigationController *setNavigationController;
	Settings *setController; 
	LoadAppli *loadAppli;
	Gateway *gateway;
	GatewayConnection *gatewayConnection;
	
	IBOutlet UITextField *nameInput;
	IBOutlet UILabel *greeting;
	IBOutlet UIImageView *disconnectedImageView;
	IBOutlet UIActivityIndicatorView *activityIndicator;
	
}

@property(nonatomic, retain) Gateway *gateway;
@property(nonatomic, retain) GatewayConnection *gatewayConnection;
@property(nonatomic, retain) Settings *setController;
@property(nonatomic, retain) IBOutlet UITextField *nameInput;
@property(nonatomic, retain) IBOutlet UILabel *greeting;
@property(nonatomic, retain) IBOutlet UINavigationController *addNavigationController;

- (void) loadApplication;
- (void) donePerformingRequests;
- (void) performingRequestsError;

@end
